﻿using System;
using System.ComponentModel.DataAnnotations;
using XStudio.XCRF.Data.Business.Archieve;

namespace XStudio.XCRF.Data.Entities.CureInfo
{
    /// <summary>
    /// 治疗信息 其他治疗信息
    /// </summary>
    public partial class CureOtherCure : OtherCure<CureOtherCure>, IArchieve
    {
        #region 属性
        /// <summary>
        /// 治疗信息ID
        /// </summary>
        [ForeignKey("CureInfo")]
        public Guid? CureInfoID { get; set; }
        /// <summary>
        /// 治疗信息
        /// </summary>
        public virtual CureInfo CureInfo { get; set; }
        #endregion 属性

        public CureOtherCure Clone()
        {
            CureOtherCure coc = new CureOtherCure();
            coc.Creater = this.Creater;
            coc.CreaterID = this.CreaterID;
            coc.CreateTime = this.CreateTime;
            coc.CureInfo = this.CureInfo;
            coc.CureInfoID = this.CureInfoID;
            coc.EndTime = this.EndTime;
            coc.IsDeleted = this.IsDeleted;
            coc.LastModifier = this.LastModifier;
            coc.LastModifierID = this.LastModifierID;
            coc.LastModifyTime = this.LastModifyTime;
            coc.Master = this.Master;
            coc.MasterID = this.MasterID;
            coc.Name = this.Name;
            coc.Remark = this.Remark;
            coc.StartTime = this.StartTime;
            return coc;
        }
    }
}